package com.linkage.educloud.ah.evenbus;

import com.linkage.educloud.ah.bean.DynamicBean;

/**
 * Created by Mr'Tang on 2018/11/20.
 */

public class DynamicEvent {
    public static int praise = 1;
    public static int delete_dynamic = 2;
    public static int delete_comment = 3;
    public static int add_dynamic = 4;
    private int type;//1--点赞更新 2--删除动态更新 3--评论更新
    private int pos;
    private DynamicBean bean;

    public DynamicEvent(int type, int pos, DynamicBean bean) {
        this.type = type;
        this.pos = pos;
        this.bean = bean;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getPos() {
        return pos;
    }

    public void setPos(int pos) {
        this.pos = pos;
    }

    public DynamicBean getBean() {
        return bean;
    }

    public void setBean(DynamicBean bean) {
        this.bean = bean;
    }
}
